<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>移交历史管理</title>
<#include "../common/link.ftl">
    <script>
        $(function () {

        })

    </script>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<#include "../common/navbar.ftl">
<#--菜单回显&ndash;&gt;-->
<#--<c:set var="currentMenu" value="customerTransfer"/>-->
    <#assign currentMenu="customerTransfer"/>
    <#include "../common/menu.ftl">

    <div class="content-wrapper">
        <section class="content-header">
            <h1>移交历史管理</h1>
        </section>
        <section class="content">
            <div class="box">
            <#--高级查询-&ndash;&gt;-->
                <div style="margin: 10px;">
                    <form class="form-inline" id="searchForm" action="/customerTransfer/list.do" method="post">
                        <input type="hidden" name="currentPage" id="currentPage" value="1">
                        <div class="form-group">
                            <label for="keyword">关键字:</label>
                            <input type="text" class="form-control" id="keyword" name="keyword" value="${qo.keyword!}"
                                   placeholder="请输入姓名或电话">
                        </div>
                        <button id="btn_query" class="btn btn-primary"><span class="glyphicon glyphicon-search"></span>
                            查询
                        </button>
                    </form>
                </div>
                <table class="table table-hover table-bordered">
                    <thead>
                    <tr>
                        <th><input type="checkbox" id="allCheck"></th>
                        <th>编号</th>
                        <th>客户姓名</th>
                        <th>操作时间</th>
                        <th>操作人</th>
                        <th>旧营销人员</th>
                        <th>新营销人员</th>
                        <th>移交原因</th>
                    </tr>
                    </thead>
                    <#list (pageInfo.list)! as customerTransfer>
                        <tr>
                            <td><input type="checkbox" class="cb" data-id="${customerTransfer.id!}"></td>
                            <td>${customerTransfer_index+1}</td>
                            <td>${(customerTransfer.customer.name)!}</td>
                            <td>${(customerTransfer.operateTime)! ? string('yyy.MM.dd HH:mm:ss')}</td>
                            <td>${(customerTransfer.operator.name)!}</td>
                            <td>${(customerTransfer.oldSeller.name)!}</td>
                            <td>${(customerTransfer.newSeller.name)!}</td>
                            <td>${(customerTransfer.reason)!}</td>
                        </tr>
                    </#list>
                </table>
                <!--分页-->
                <#include "../common/page.ftl">
            </div>
        </section>
    </div>
    <#include "../common/footer.ftl">
</div>
</body>
</html>